package com.yanqu.road.logic.bussiness.player;

import com.yanqu.road.entity.player.UserSystemInfo;
import com.yanqu.road.logic.bussiness.DaoHelper;

import java.util.Map;


public class UserSystemInfoBussiness {

    public static Map<Integer, UserSystemInfo> getUserSystemInfoMap(long userId) {
        return DaoHelper.getUserSystemInfoDaoImpl().getUserSystemInfoMap(userId);
    }

    public static boolean addUserSystemInfo(UserSystemInfo data) {
        return DaoHelper.getUserSystemInfoDaoImpl().add(data);
    }

    public static boolean updateUserSystemInfo(UserSystemInfo data) {
        return DaoHelper.getUserSystemInfoDaoImpl().update(data);
    }
}
